package com.link.base.base.project.service;

import com.link.base.base.approval.model.Flow;
import com.link.base.base.project.model.Project;
import com.link.core.basic.service.BasicService;

import java.util.List;

/**
 * 项目
 *
 * @author 阳晓琳
 * @date 2020-09-21 16:36:57
 */
public interface  ProjectService extends BasicService<Project> {

    /**
     * 项目报价审批
     * @param entity
     * @throws Exception
     */
    public void projectQuoteSubmit(Project entity) throws Exception;

    public void submitInfo(Project entity) throws Exception;

    /**
     * 项目报价审批回调处理
     * @param flow
     * @param arg1
     * @param arg2
     * @param arg3
     * @param arg4
     * @param arg5
     * @throws Exception
     */
    public void apprProjectQuote(Flow flow, String arg1, String arg2, String arg3, String arg4, String arg5) throws Exception;

    /**
     * 获取当前项目拜访计划，对比拜访计划开始时间 提前7天，每天六点提醒
     * @return
     * @throws Exception
     */
    public void projectVisit() throws Exception;

    /**
     * 获取年销售额拉平数据
     * @param entity
     * @return
     * @throws Exception
     */
    public List<Project> projectYearTotalReportPage(Project entity) throws Exception;

    /**
     * 项目客户层级关系报表
     * @return
     */
    public List<Project> projectAccountReport(Project project) throws Exception;
}
